﻿<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width" />
        <title>@ViewBag.Title</title>
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
        <script src="~/Scripts/jquery-1.7.1.min.js"></script>
        <script src="~/Scripts/jquery.signalR-1.0.1.min.js"></script>
        <script src="~/signalr/hubs"></script>
        <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
    </head>
<body>
    <!--motha fokker  -->
    <div id="container">
        <div class="PageHeader">
            @using (Html.BeginForm("LogIn", "Home", FormMethod.Post, new { id = "loginForm"}))
            { 
                @model Bordspil.Models.Users2
                @Html.ValidationSummary(true, "Innskráning tókst ekki, athugaðu hvort þú slóst inn réttar upplýsingar");

                    <div id="forgotLink">
                        <a href="~/Home/ForgotPassword">Gleymt Lykilorð</a>
                    </div>
                    <div id="loginButton">
                        <input type="submit" value="Innskrá" />
                    </div>

                    <div id="PW">
                     <div>
                        <input type="password" name="Password" tabindex="2", placeholder="Lykilorð" />
                    </div>
                        @Html.ValidationMessageFor(x => x.password)
                    </div>

                    <div id="US">
                    <div>
                        <input type="text" name="Username" tabindex="1", placeholder="Notendanafn" />
                    </div>
                        @Html.ValidationMessageFor(x => x.username)
                    </div>

            }

            <h1><a href="http://localhost:54920/"><img class="Logo" src="https://fbcdn-sphotos-c-a.akamaihd.net/hphotos-ak-ash3/941477_10152408103957195_521608573_n.jpg", alt="Bordspil.is" /></a></h1>
        </div>

        
        <div>
            @RenderBody()
        </div>
    </div>

    <div id="PageFooter">
        <div id="PageFooterText">
        <p>
            Háskólinn í Reykjavík | Vorönn 2013 | Verklegt námskeið | Borðspil.is
        </p>
        <p>
            Auður Íris Ólafsdóttir | Eyþór Sigtryggsson | Gunnar Egill Ágústsson | Ingólfur Daníel Sigurðsson | Petra Pétursdóttir
        </p>
            </div>
        <div id="PageFooterBackground">
            <img src="https://fbcdn-sphotos-c-a.akamaihd.net/hphotos-ak-ash4/260375_10152408118337195_987217685_n.jpg"/>
            </div>
    </div>
     

    @Scripts.Render("~/bundles/jquery")
    @RenderSection("scripts", required: false)
</body>
</html>
